Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

vorbisenc.h

Go to the documentation of this file.
00001 /********************************************************************
00002  *                                                                  *
00003  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
00004  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
00005  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
00006  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
00007  *                                                                  *
00008  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001             *
00009  * by the XIPHOPHORUS Company http://www.xiph.org/                  *
00010 
00011  ********************************************************************
00012 
00013  function: vorbis encode-engine setup
00014  last mod: $Id: vorbisenc.h,v 1.2 2004/10/01 03:52:02 Assassin Exp $
00015 
00016  ********************************************************************/
00017 
00018 #ifndef _OV_ENC_H_
00019 #define _OV_ENC_H_
00020 
00021 #ifdef __cplusplus
00022 extern "C"
00023 {
00024 #endif /* __cplusplus */
00025 
00026 #include "codec.h"
00027 
00028 extern int vorbis_encode_init(vorbis_info *vi,
00029                   long channels,
00030                   long rate,
00031                   
00032                   long max_bitrate,
00033                   long nominal_bitrate,
00034                   long min_bitrate);
00035 
00036 extern int vorbis_encode_init_vbr(vorbis_info *vi,
00037                   long channels,
00038                   long rate,
00039                   
00040                   float /* quality level from 0. (lo) to 1. (hi) */
00041                   );
00042 
00043 extern int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg);
00044 
00045 
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif /* __cplusplus */
00050 
00051 #endif
00052 
00053 

Generated on Mon Sep 12 19:58:58 2005 for Destiny3D by doxygen1.3-rc3